package com.abc.cloud.service;

import com.abc.cloud.dto.im.ChatDetail;
import com.abc.cloud.vo.im.AdminUpdateChatDetailReq;
import com.baomidou.mybatisplus.extension.service.IService;
import com.abc.cloud.common.utils.PageUtil;
import com.abc.cloud.entity.ChatDetailEntity;

import java.util.List;
import java.util.Map;

/**
 * 聊天记录表
 *
 * @author LiJunXi
 * @email 2770063826@qq.com
 * @date 2023-11-29 13:17:40
 */
public interface ChatDetailService extends IService<ChatDetailEntity> {

    List<ChatDetail> queryPage(Map<String, Object> params);

    void saveChatDetail(ChatDetailEntity chatDetailEntity);

    PageUtil adminChatList(Map<String, Object> params);

    void adminUpdateChat(AdminUpdateChatDetailReq adminUpdateChatDetailReq);

    void adminDeleteChat(List<Long> ids, Integer status);
}

